package cn.swust.designpatternlearningplatform.dao;

import cn.swust.designpatternlearningplatform.dao.sql.ObtainResultsDaoSql;
import cn.swust.designpatternlearningplatform.dao.sql.StudentTestDaoSql;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

@Mapper
/**
 * @param null:
 * @return null
 * @author wang
 * description 查询关于成绩的
 * date 2023/5/19 16:33
 */
public interface ObtainResultsDao {
    /**
     * @param paperNumber:
     * @param topicId:
     * @return Integer
     * @author wang
     * description 在试卷内容关联类里面查询题目的分数
     * date 2023/5/19 16:34
     */
    @SelectProvider(type = ObtainResultsDaoSql.class, method = "getScore")
    Integer getScore(String paperNumber, Integer topicId);
}
